Skip to content

MPT-21850 track shared CodeRabbit config#334

Merged
d3rky merged 1 commit into
mainfrom
bugfix/MPT-21850/fix-coderabbit-configuration-api-client
Jun 4, 2026
Merged

MPT-21850 track shared CodeRabbit config#334
d3rky merged 1 commit into
mainfrom
bugfix/MPT-21850/fix-coderabbit-configuration-api-client

Conversation

@d3rky

@d3rky d3rky commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

🤖 AI-generated PR — Please review carefully.

What changed

  • Updated .coderabbit.yaml to use the shared CodeRabbit configuration directly from softwareone-platform/mpt-extension-skills.
  • Removed the intermediate remote config reference through swo-extension-playground.
  • Matched the current playground template update from MPT-21850.

Testing

  • Parsed .coderabbit.yaml successfully with Ruby YAML.
  • Verified the shared raw GitHub URL returns CodeRabbit YAML.

Closes MPT-21850

Changes

  • Updated .coderabbit.yaml to reference shared CodeRabbit configuration directly from softwareone-platform/mpt-extension-skills repository instead of the intermediate swo-extension-playground reference
  • Changed remote_config.url from https://raw.githubusercontent.com/softwareone-platform/swo-extension-playground/refs/heads/main/.coderabbit.yaml to https://raw.githubusercontent.com/softwareone-platform/mpt-extension-skills/main/coderabbit-shared.yaml

Point CodeRabbit directly to the shared mpt-extension-skills configuration on main, matching the playground template update for MPT-21850.
@d3rky d3rky requested a review from a team as a code owner June 4, 2026 11:09
@d3rky d3rky requested review from robcsegal and svazquezco June 4, 2026 11:09
@coderabbitai

coderabbitai Bot commented Jun 4, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The .coderabbit.yaml configuration file's remote_config.url is updated to reference a different shared CodeRabbit configuration file, changing from the swo-extension-playground repository to the mpt-extension-skills repository.

Changes

CodeRabbit Configuration Update

Layer / File(s) Summary
Remote configuration URL update
.coderabbit.yaml
remote_config.url updated to point to softwareone-platform/mpt-extension-skills repository's coderabbit-shared.yaml configuration instead of swo-extension-playground repository's .coderabbit.yaml.

🎯 1 (Trivial) | ⏱️ ~2 minutes


Possibly related PRs


🔕 Pre-merge checks override applied

The pre-merge checks have been overridden successfully. You can now proceed with the merge.

Overridden by @d3rky via checkbox on 2026-06-04T11:16:28.815Z.

❌ Failed checks (1 error)

Check name Status Explanation Resolution
Ai Warning Line In Pr Description ❌ Error [IGNORED] PR description does not start with the exact required warning line. Actual first line is "- AI-generated PR; changes should be reviewed." instead of "🤖 AI-generated PR — Please review carefully." Update the PR description to start with the exact line: 🤖 AI-generated PR — Please review carefully.
✅ Passed checks (3 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Pr And Commit Formatting ✅ Passed PR title matches format, description explains changes, commit follows Conventional Commits with explanatory body, single logical commit, no merge commits in history.

Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud

sonarqubecloud Bot commented Jun 4, 2026

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.coderabbit.yaml:
- Line 3: The added URL in .coderabbit.yaml points to
mpt-extension-skills/coderabbit-shared.yaml which injects a pre-merge policy
requiring the exact first PR description line "🤖 AI-generated PR — Please
review carefully.", causing a merge blocker; either remove or replace the "url"
entry to avoid inheriting that strict policy (edit the url field in
.coderabbit.yaml), or alternatively update the PR description to start exactly
with "🤖 AI-generated PR — Please review carefully." so it satisfies the
inherited check.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: c3e6e851-2a1a-48dd-ab9c-d33d5977be16

📥 Commits

Reviewing files that changed from the base of the PR and between edcf3a2 and d096d1a.

📒 Files selected for processing (1)
  • .coderabbit.yaml
📜 Review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: build
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: d3rky
Repo: softwareone-platform/mpt-api-python-client PR: 299
File: docs/testing.md:3-5
Timestamp: 2026-04-14T13:31:12.234Z
Learning: In the softwareone-platform/mpt-api-python-client repository, the shared testing standards file in the mpt-extension-skills repository is `standards/unittests.md` (not `standards/testing-standard.md`). The correct URL is https://github.com/softwareone-platform/mpt-extension-skills/blob/main/standards/unittests.md. Do not flag `docs/testing.md` for linking to `standards/unittests.md`.
📚 Learning: 2026-04-16T11:49:53.579Z
Learnt from: jentyk
Repo: softwareone-platform/mpt-api-python-client PR: 303
File: tests/e2e/helpdesk/chats/participants/conftest.py:25-31
Timestamp: 2026-04-16T11:49:53.579Z
Learning: In tests/e2e/helpdesk/chats/participants/conftest.py (E2E fixtures `created_chat_participant` and `async_created_chat_participant`), it’s acceptable to omit participant teardown/cleanup. The parent `created_chat` fixture performs cascade-deletion of the chat and all related records (including participants) during teardown, so missing participant-specific cleanup should not be flagged in code review.

Applied to files:

  • .coderabbit.yaml
🔀 Multi-repo context softwareone-platform/mpt-extension-skills

Findings

softwareone-platform/mpt-extension-skills

  • Presence of shared CodeRabbit config: coderabbit-shared.yaml at repository root. [::softwareone-platform/mpt-extension-skills::coderabbit-shared.yaml]
  • Key values observed (relevant to the PR switching remote_config.url to this file):
    • inheritance: true, early_access: true, enable_free_tier: true. [::softwareone-platform/mpt-extension-skills::coderabbit-shared.yaml:1-40]
    • auto_review.enabled: true and auto_incremental_review: true. [::softwareone-platform/mpt-extension-skills::coderabbit-shared.yaml:80-100]
    • pre_merge_checks includes an "AI Warning Line In PR Description" custom check that errors if the exact warning line 🤖 AI-generated PR — Please review carefully. is not the first line of the PR description. (This is a strict requirement that will be enforced if this shared config is used.) [::softwareone-platform/mpt-extension-skills::coderabbit-shared.yaml:120-160]
    • high_level_summary instructions include extracting Jira keys and prepending "Closes MPT-XXXX" where applicable. [::softwareone-platform/mpt-extension-skills::coderabbit-shared.yaml:40-80]
    • Many tooling flags (ruff, yamllint, markdownlint, semgrep, etc.) enabled in tools section. [::softwareone-platform/mpt-extension-skills::coderabbit-shared.yaml:160-260]

Implication: Pointing .coderabbit.yaml.remote_config.url to this file will cause repositories using it (e.g., the PR target repo) to inherit the above policies and automated checks — notably the strict pre-merge AI-warning-line check and auto_review behaviors. [::softwareone-platform/mpt-extension-skills::coderabbit-shared.yaml]

Comment thread .coderabbit.yaml
@d3rky d3rky merged commit 1d8addd into main Jun 4, 2026
4 checks passed
@d3rky d3rky deleted the bugfix/MPT-21850/fix-coderabbit-configuration-api-client branch June 4, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant